#!/usr/bin/python3
# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: t -*-

from common_python import check_package_installed


check_package_installed({
    "gentoo": [
        "sys-apps/shadow",
    ],
})

files = [
    "/etc/passwd",
    "/etc/group",
    "/etc/shadow",
    "/etc/gshadow",
    "/etc/subuid",
    "/etc/subgid",
]
for fn in files:
    print(fn)
    print(fn + "-")

# FIXME: I think this file should be deleted when the operation completes
print("/etc/.pwd.lock")

print("/var/log/lastlog")
